<?php

namespace Gnway\Ticket\Rest\Validation;

use Gnway\Ticket\Rest\Contracts\ValidateRuleInterface;

class ValidateInteger implements ValidateRuleInterface
{

  /**
   * @inheritDoc
   */
  public function getValue(): string
  {
    return '^\-?[0-9]+$';
  }
}